cmake_minimum_required(VERSION 3.0)

#SET(APP_PROJECT_NAME torchreid_demo)

#add_definitions(-std=c++11)

find_package(OpenCV 4.4.0 REQUIRED)
message(STATUS "OpenCV library status:")
message(STATUS "    version: ${OpenCV_VERSION}")
message(STATUS "    libraries: ${OpenCV_LIBS}")
message(STATUS "    include path: ${OpenCV_INCLUDE_DIRS}")

find_package(Eigen3)

# Eigen3
include_directories(${EIGEN3_INCLUDE_DIR})

# opencv
include_directories(${OpenCV_INCLUDE_DIRS})

# tensorrt
set(TRT_ROOT_DIR /home/developer/zhangcc/myopendatasets/download/centos7/TensorRT-7.2.1.6)
include_directories(${TRT_ROOT_DIR}/include)
link_directories(${TRT_ROOT_DIR}/lib)

# torchreid interface lib
link_directories(${SOLUTION_DIR}/libs/torchreid)

#cuda_add_executable(${APP_PROJECT_NAME} demo.cpp)
#
#target_link_libraries(${APP_PROJECT_NAME} ${OpenCV_LIBS} torchreid)
